﻿using CozeDomain.Entities;
using D.Tool.CodeBuild.Models;
using D.UtilCore.Dtos;
using D.UtilFreesqlOrm;

namespace CozeDomain.IServices
{
    /// <summary>
    /// 代码生成模块
    /// </summary>
    public interface ISysCodeBuilderService : IBaseService<SysCodeBuilderEntity>
    {

        /// <summary>
        /// 获取数据库表
        /// </summary>
        /// <returns></returns>
        ApiResult<IEnumerable<string>> GetDbList();

        /// <summary>
        /// 获取表详情
        /// </summary>
        /// <param name="dbName">表名</param>
        /// <returns></returns>
        ApiResult<IEnumerable<TablesInput>> GetTableList(string dbName); 
    } 
}
